﻿<s:SurfaceUserControl x:Class="Surfium.MyPopUp"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
                       Height="55"
             >
    <s:SurfaceUserControl.Resources>
        <SolidColorBrush x:Key="BlackAlphaBrush" Color="#99000000"/>
        <LinearGradientBrush x:Key="WhiteBg" EndPoint="0.5,1" StartPoint="0.5,0">
        	<GradientStop Color="#CCCECECE" Offset="0"/>
        	<GradientStop Color="#E5FFFFFF" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Key="WhiteBgBorder" EndPoint="0.5,1" StartPoint="0.5,0">
        	<GradientStop Color="#D7ABABAB" Offset="0"/>
        	<GradientStop Color="#E5D2D2D2" Offset="1"/>
        </LinearGradientBrush>

    </s:SurfaceUserControl.Resources>

    <Border x:Name="cotnainer" CornerRadius="2" Padding="0" Background="{DynamicResource WhiteBg}" BorderThickness="1" BorderBrush="{DynamicResource WhiteBgBorder}" >
        <StackPanel VerticalAlignment="Center" >
            <s:SurfaceTextBox KeyDown="inputText_KeyDown" Name="inputText" Margin="40,5,5,5" TextWrapping="NoWrap" MaxLength="32" Width="200" Padding="5" FontSize="18.667" Background="{DynamicResource WhiteBg}" BorderBrush="{DynamicResource WhiteBgBorder}" BorderThickness="1">
          
            </s:SurfaceTextBox>
            <!--<s:SurfaceListBox Margin="40,5,5,5" Height="37" FontSize="18.667">
            		<s:SurfaceListBoxItem Content="SurfaceListBoxItem" FontSize="18.667"/>
            		<s:SurfaceListBoxItem Content="SurfaceListBoxItem"/>
            	</s:SurfaceListBox>-->

        </StackPanel>
    </Border>

</s:SurfaceUserControl>
